package com.bestcem.xm.qdes.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ds_upload_filemap")
public class UploadFileMap extends BaseEntity2 {

    @TableId(value = "id")
    private String id;

    /**
     * 产生文件的子系统ID
     */
    @TableField(value = "sys_id")
    @JsonProperty("sys_id")
    private String sysId;

    /**
     * 文件所属项目ID
     */
    @TableField(value = "project_id")
    @JsonProperty("project_id")
    private String projectId;

    /**
     * 文件名
     */
    @TableField(value = "file_name")
    @JsonProperty("file_name")
    private String fileName;

    /**
     * 文件信息ID
     */
    @TableField(value = "file_info_id")
    @JsonProperty("file_info_id")
    private String fileInfoId;

    /**
     * 原始的文件信息ID
     */
    @TableField(value = "origin_file_info_id")
    @JsonProperty("origin_file_info_id")
    private String originFileInfoId;
}